package com.bawei.module_recommend.ui

import com.bawei.module_recommend.http.RecommendApi
import com.bawei.module_recommend.http.RecommendNetModule
import kotlinx.coroutines.flow.flow
import javax.inject.Inject

/**
 *作者：lxy
 *功能:
 *时间：2025/6/16
 */
class RecommendRepository @Inject constructor() {

    @Inject
    @RecommendNetModule.CommonRecommendApi
    lateinit var mApi:RecommendApi

    fun getMerchantList() = flow {
        emit(mApi.getMerchantList())
    }
}